function getUrlParams(key){
    let urlArr=decodeURI(location.href).split("?")
    if(urlArr.length==1)return
    let urlParamsArr=urlArr[1].split("&")
    for(let i=0;i<urlParamsArr.length;i++){
        let keyArr=urlParamsArr[i].split("=")
        if(keyArr[0]==key)return keyArr[1]
    }
}